package cn.b.sky.admin.model;


public class DWZResult {
  
  /**
   * 状态码，枚举类DwzStatusCode
   */
  private int statusCode;

  /**
   * 用户可见的提示信息
   */
  private String message;

  /**
   * 窗体id
   */
  private String navTabId;

  /**
   * dwz客户端的回调。当前navTab重新加载rel里面的接口
   */
  private String rel;

  /**
   * 回调类型DwzCallbackType枚举
   */
  private String callbackType;

  /**
   * 转发的url
   */
  private String forwardUrl;

  /**
   * 确认信息
   */
  private String confirmMsg;

  /**
   * 返回页面的数据
   */
  private Object data;

  /**
   * 新增详细信息，可以让实施人员或者开发人员调试的信息，用户不可见
   */
  private String detailMessage;

  public DWZResult(int statusCode, String message, String navTabId, String rel, String callbackType,
      String forwardUrl, String confirmMsg, Object data) {
    super();
    this.statusCode = statusCode;
    this.message = message;
    this.navTabId = navTabId;
    this.rel = rel;
    this.callbackType = callbackType;
    this.forwardUrl = forwardUrl;
    this.confirmMsg = confirmMsg;
    this.data = data;
  }

  public int getStatusCode() {
    return statusCode;
  }

  public void setStatusCode(int statusCode) {
    this.statusCode = statusCode;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  public String getNavTabId() {
    return navTabId;
  }

  public void setNavTabId(String navTabId) {
    this.navTabId = navTabId;
  }

  public String getRel() {
    return rel;
  }

  public void setRel(String rel) {
    this.rel = rel;
  }

  public String getCallbackType() {
    return callbackType;
  }

  public void setCallbackType(String callbackType) {
    this.callbackType = callbackType;
  }

  public String getForwardUrl() {
    return forwardUrl;
  }

  public void setForwardUrl(String forwardUrl) {
    this.forwardUrl = forwardUrl;
  }

  public String getConfirmMsg() {
    return confirmMsg;
  }

  public void setConfirmMsg(String confirmMsg) {
    this.confirmMsg = confirmMsg;
  }

  public Object getData() {
    return data;
  }

  public void setData(Object data) {
    this.data = data;
  }

  public String getDetailMessage() {
    return detailMessage;
  }

  public void setDetailMessage(String detailMessage) {
    this.detailMessage = detailMessage;
  }

}
